3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D defines quaternions as quadruples of floating-point numbers. A quaternion is defined by the TQ3Quaternion data type.
For a description of quaternions and their use in computer graphics, see the article by Hart, Francis, and Kaufman listed in the bibliography.
typedef struct TQ3Quaternion {
float w;
float x;
float y;
float z;
} TQ3Quaternion;
Previous | QD3D Book | Overview | Chapter Contents | Next |